<template>
  <div>
    <h2>user page</h2>
    <h3>{{userId}}</h3>
    <h3>{{$route.params.userId}}</h3>
  </div>
</template>

<script>
export default {
  name: "User",
  data(){
    return{

    }
  },
  computed:{
    userId(){
      return this.$route.params.userId
    }
  }

};
</script>

<style scoped>

</style>
